#include "Transformation.h"

void Transformation::interpolateWith(const Transformation& start, const Transformation& end, float interpolationWeight) {
	translation = (1 - interpolationWeight) * start.translation + interpolationWeight * end.translation;
	rotation.nlerp(start.rotation, end.rotation, interpolationWeight);
}
